﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Kokomo.Mirror.PeFormat
{
	public struct ModuleImportDescriptor
	{
		public uint OriginalFirstThunk { get; set; }         // RVA to original unbound IAT (PIMAGE_THUNK_DATA)
		public int TimeDateStamp { get; set; }                  // 0 if not bound,
		// -1 if bound, and real date\time stamp
		//     in IMAGE_DIRECTORY_ENTRY_BOUND_IMPORT (new BIND)
		// O.W. date/time stamp of DLL bound to (Old BIND)

		public int ForwarderChain { get; set; }                 // -1 if no forwarders
		public uint Name { get; set; }
		public uint FirstThunk { get; set; }                     // RVA to IAT (if bound this IAT has actual addresses)
	}
}
